import sqlite3

db = "./ai-ele.db"
con = sqlite3.connect(db)
con.execute('PRAGMA foreign_keys=ON;')
cur = con.cursor()  # type: Cursor
con.commit()


def GetCols(a=cur):
    return [tup[0] for tup in a.description]
